package com.huabo.system.service.impl;

import com.huabo.system.mysql.entity.TblNbsjProjectMySql;
import com.huabo.system.mysql.mapper.TblNbsjProjectMySqlMapper;
import com.huabo.system.oracle.entity.TblNbsjProject;
import com.huabo.system.oracle.mapper.TblNbsjProjectMapper;
import com.huabo.system.service.TblNbsjProjectService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.math.BigDecimal;

@Service
public class TblNbsjProjectServiceImpl implements TblNbsjProjectService {

    @Resource
    private TblNbsjProjectMapper tblNbsjProjectMapper;

    @Resource
    private TblNbsjProjectMySqlMapper tblNbsjProjectMySqlMapper;


    @Override
    public TblNbsjProject findBySheetid(BigDecimal spid) {
        return tblNbsjProjectMapper.findBySheetid(spid);
    }

    @Override
    public TblNbsjProjectMySql findByMySqlSheetid(BigDecimal spid) {
        return tblNbsjProjectMySqlMapper.findBySheetid(spid);
    }
}
